package Nisha.Threads;

public class threadsByThreadClass extends Thread {

	public threadsByThreadClass(String name)
	{
	   super(name);
	}
	@Override
	public void run() {
		System.out.println("hi From thread "+ Thread.currentThread().getName());		
	}

}
